package com.jeomo.mem.starter.mapper;

import com.jeomo.base.starter.mapper.IBaseMapper;
import com.jeomo.mem.starter.entity.MemberPointsRuleList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 积分规则明细
 * @author:Jackpot
 * @create 2020-09-09 14:51
 * @description:
 */
@Mapper
public interface MemberPointsRuleListMapper extends IBaseMapper<MemberPointsRuleList> {

    @Select("select * from member_points_rule_list where rule_code = #{ruleCode}")
    List<MemberPointsRuleList> getMemberPointsRuleList(String ruleCode);
}
